<script setup>
import { onMounted, ref } from 'vue';
const money = ref(100)
// 功能1
onMounted(() => {
  money.value = 1000
  console.log(1111);
})

// 功能2
const age = ref(18)
onMounted(() => {
  age.value = 100
  console.log(2222);
})

</script>

<template>
  <div></div>
</template>

<style scoped></style>